package com.weng.sso.server.config;

import com.weng.framework.common.utils.security.password.PasswordEncoder;
import com.weng.framework.common.utils.security.password.ShaPasswordEncoder;
import org.springframework.context.annotation.Bean;

/**
 *  安全相关配置
 * @author wengzhonghui
 * @date 2019/4/15 13:46
 */
public class SecurityConfig {


    @Bean("passwordEncoder")
    public PasswordEncoder passwordEncoder(){
        return new ShaPasswordEncoder();
    }
}
